package com.lanchetech.merchant.service;


import com.lanchetech.bean.request.CountByTimeReq;
import com.lanchetech.bean.request.HomeStatisticsReq;
import com.lanchetech.bean.request.SpuSellStatisticsReq;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.*;

import java.util.List;

public interface StatisticsService {
    ResultData<MerchantHomeStatisticsVO> getDataStatistics(HomeStatisticsReq req);

    ResultData<OrderStatisticsVO> getOrderStatisticsByYear(Integer year);

    ResultData<SpuSellStatisticsVO> getSpuSellStatistics(SpuSellStatisticsReq req);

    ResultData<List<LongCountByDateVO>> getRegisterUserCount(CountByTimeReq req);

    ResultData<List<SpuVO>> getTopSpu();

    ResultData<List<LongCountByDateVO>> getOrdersCount(CountByTimeReq req);

    ResultData<List<BigDecimalCountByDateVO>> getPayAmountCount(CountByTimeReq req);
}
